package com.zheng.oss.rpc.api;

import com.alibaba.fastjson.JSONObject;
import com.zheng.oss.dao.model.OssFile;
import com.zheng.oss.dao.mapper.OssFileMapper;
import com.zheng.oss.dao.model.OssRoleFile;
import com.zheng.oss.dto.FolderDto;
import com.zheng.oss.dto.ShareFileDto;
import com.zheng.oss.rpc.api.OssFileService;
import com.zheng.common.base.BaseServiceMock;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现降级实现类
 * </p>
 *
 * @author likun
 * @since 2018-05-08
 */
public
class OssFileServiceMock extends BaseServiceMock<OssFileMapper, OssFile> implements OssFileService {
    @Override
    public OssFile insertFile(OssFile file) {
        return null;
    }

    @Override
    public List<Map<String, Object>> selectFilePage(OssFile file) {
        return null;
    }

    @Override
    public Integer selectFilePageCount(OssFile file) {
        return null;
    }


    @Override
    public boolean createFolder(FolderDto folder, String username) throws Exception {
        return false;
    }

    @Override
    public boolean insertShare(List<Integer> userIdList, List<Integer> fileIdList) {
        return false;
    }

    @Override
    public List<Map<String, Object>> selectShareFilePage(ShareFileDto shareFileDto) {
        return null;
    }

    @Override
    public Integer selectShareFilePageCount(ShareFileDto shareFileDto) {
        return null;
    }

    @Override
    public boolean deleteFile(String ids, String username, Boolean isSystem) throws Exception {
        return false;
    }

    @Override
    public boolean updateSystemFile(OssFile file, String username) throws Exception {
        return false;
    }

    @Override
    public List<OssFile> selectFileTree(OssFile file) {
        return null;
    }
}
